home *** CD-ROM | disk | FTP | other *** search
/ Best of www.BestZips.com (Collector's Edition) / Best of WWW.BESTZIPS.COM Collector's Edition (JCSM Shareware) (JCS Marketing).ISO / writgaid / lkit3270.zip / PRINTDOC.BAT < prev    next >
DOS Batch File  |  1996-06-15  |  766b  |  28 lines

  1. @REM PRINTDOC.BAT; JLS 07/96
  2. @echo off
  3. if "%1"=="" goto default
  4. set loc=%1
  5. goto next
  6. :default
  7. set loc=lpt1
  8. :next
  9. cls
  10. ECHO Docs for The Letterhead Kit for Windows will now print...
  11. ECHO ...
  12. ECHO The files REGISTER.TXT, LTRWIN.TXT, and PRODUCTS.TXT will print
  13. ECHO to the printer %loc%.  Press any key to begin.
  14. ECHO .
  15. ECHO If you need to print to any other printer, press Ctrl-C now to stop
  16. ECHO this batch file, and restart PRINTDOC with a device name, like this:
  17. ECHO PRINTDOC LPT2
  18. ECHO or:
  19. ECHO PRINTDOC PRN
  20. ECHO .
  21. ECHO VENDINFO.DIZ contains sysop and vendor information, and may
  22. ECHO be examined with the READ_ME.BAT batch file provided.
  23. ECHO on  
  24. @PAUSE
  25. type register.txt >%loc%
  26. type ltrwin.txt >>%loc%
  27. type products.txt >>%loc%
  28. @PAUSE